import abstract_.Strategy;

public class SalesMan {

    private Strategy strategy;

    public SalesMan(StrategyEnum type) {
        this.strategy = StrategyFactory.getStrategy(type);
    }

    public void salesManShow() {
        strategy.show();
    }

    public void setStrategy(StrategyEnum type) {
        this.strategy = StrategyFactory.getStrategy(type);
    }
}
